package org.csu.assemblyroom.service;

import org.csu.assemblyroom.common.CommonResponse;
import org.csu.assemblyroom.entity.Room;
import org.springframework.stereotype.Service;

import java.util.List;

public interface RoomService {
    CommonResponse<List<Room>> getAllRooms();
    CommonResponse<Room> getRoomById(String roomnumber);
    CommonResponse<List<Room>> deleteRoomById(String roomnumber);
    CommonResponse<List<Room>> addRoom(Room room);
    CommonResponse<Room> bookRoomById(String roomnumber);
}
